import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import "amfe-flexible";
import http from "./axios/api";
import "vant/lib/index.css";
import VConsole from "vconsole";
Vue.config.productionTip = false;
import axios from "axios";
Vue.prototype.$vconsole = VConsole;
import wx from "weixin-js-sdk"; // 引入微信sdk
import vueQr from "vue-qr";

import {
  Icon,
  Col,
  Row,
  Cell,
  CellGroup,
  Loading,
  Button,
  Toast,
  Form,
  Switch,
  Field,
  Progress,
  ActionSheet
} from "vant";
Vue.use(Icon);
Vue.use(Cell);
Vue.use(CellGroup);
Vue.use(Loading);
Vue.use(Button);
Vue.use(Row);
Vue.use(Col);
Vue.use(Toast);
Vue.use(Switch);
Vue.use(Form);
Vue.use(Field);
Vue.use(Progress);
Vue.use(ActionSheet);
Vue.use(vueQr);
Vue.prototype.wx = wx;
Vue.prototype.http = http;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
